home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / TeXsource / commontex / h / io < prev    next >
Encoding:
Text File  |  1988-04-08  |  685 b   |  40 lines

  1. /*
  2.  *    Copyright 1986, 1987 Pat Joseph Monardo. All rights reserved.
  3.  */
  4.  
  5.  
  6. /*
  7.  *        io.h
  8.  */
  9.  
  10. global    int        last;
  11. global    ascii    buffer[];
  12. global    int        first;
  13. global    int        max_buf_stack;
  14.  
  15. FILE    *a_open_in();
  16. FILE    *a_open_out();
  17.  
  18. FILE    *b_open_in();
  19. FILE    *b_open_out();
  20.  
  21. FILE    *w_open_in();
  22. FILE    *w_open_out();
  23.  
  24. #define    a_close(FD)                (fclose(FD))
  25. #define    b_close(FD)                (fclose(FD))
  26. #define    w_close(FD)                (fclose(FD))
  27.  
  28. #define    prompt_input(S)            {print(S); term_input();}
  29.  
  30. bool     init_terminal();
  31. int        term_input();
  32. bool    input_ln();
  33.  
  34. #define    term_in                    stdin
  35. #define    term_out                stdout
  36. #define    t_open_in()
  37. #define    t_open_out()
  38. #define    update_terminal()        fflush(stdout)
  39. #define    clear_terminal()
  40.